package org.jeecg.modules.nikeProject.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.nikeProject.entity.SportsProjectReview;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Description: 案例评审表
 * @Author: jeecg-boot
 * @Date:   2024-12-20
 * @Version: V1.0
 */
public interface SportsProjectReviewMapper extends BaseMapper<SportsProjectReview>{
    int updateProjectReview(SportsProjectReview sportsProjectReview);

    List<SportsProjectReview> getSportsReviewStatus(@Param("projectId") String projectId,
                                                    @Param("reviewType") String reviewType,
                                                    @Param("reviewStatus") String reviewStatus);

    int getCount(@Param("userId") String userId,
                 @Param("projectName") String projectName,
                 @Param("reviewStatus") String reviewStatus,
                 @Param("reviewType") String reviewType);

}
